package com.example.wanxiang.service;

import com.example.wanxiang.entity.Comment;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CommentService {

    List<Comment> findByArticleId(String articleId, Pageable pageable);

    Comment findById(String id);

    Comment save(Comment comment);

    void deleteById(String id);

    List<Comment> findByParentId(Long parentId);



}
